package com.ruoyi.business.mapper;

import java.util.List;
import com.ruoyi.business.domain.BusinessClock;
import org.apache.ibatis.annotations.Mapper;

/**
 * 考勤Mapper接口
 * 
 * @author ruoyi
 * @date 2025-01-04
 */
@Mapper
public interface BusinessClockMapper 
{
    /**
     * 查询考勤
     * 
     * @param clockId 考勤主键
     * @return 考勤
     */
    public BusinessClock selectBusinessClockByClockId(Long clockId);

    /**
     * 查询考勤列表
     * 
     * @param businessClock 考勤
     * @return 考勤集合
     */
    public List<BusinessClock> selectBusinessClockList(BusinessClock businessClock);

    /**
     * 新增考勤
     * 
     * @param businessClock 考勤
     * @return 结果
     */
    public int insertBusinessClock(BusinessClock businessClock);

    /**
     * 修改考勤
     * 
     * @param businessClock 考勤
     * @return 结果
     */
    public int updateBusinessClock(BusinessClock businessClock);

    /**
     * 删除考勤
     * 
     * @param clockId 考勤主键
     * @return 结果
     */
    public int deleteBusinessClockByClockId(Long clockId);

    /**
     * 批量删除考勤
     * 
     * @param clockIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBusinessClockByClockIds(Long[] clockIds);
}
